package priv.lhy.log.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author : lihy
 * @date : 2021/8/5 10:22
 */
@Data
@ConfigurationProperties(prefix = LogProperties.LOG_PROP_PREFIX)
public class LogProperties {

    public final static String LOG_PROP_PREFIX = "aop.log";

    private boolean webEnable = false;

    private boolean serviceEnable = false;

    private String webPointcut = "public *  *..controller..*.*(..)";

    private String servicePointcut ="public *  *..service.impl..*.*(..)";
}
